package com.quick.develop.flowable.domain.job;

import com.quick.develop.flowable.domain.page.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static com.quick.develop.framework.utils.DateUtils.YYYY_MM_DD_HH_MM_SS;

/**
 * @author junyuan.liu
 * @description:
 * @date 2022/9/21 8:56
 */
@ApiModel("流程管理后台 - 流程死信节点的分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class BpmDeadJobPageReqVO extends PageParam {
    private static final long serialVersionUID = 4479785410433474789L;

    @ApiModelProperty(value = "流程实例的编号")
    private String processInstanceId;

    @ApiModelProperty(value = "节点ID")
    private String elementId;

    @ApiModelProperty(value = "节点名称")
    private String elementName;

    @ApiModelProperty(value = "开始的创建收间")
    @DateTimeFormat(pattern = YYYY_MM_DD_HH_MM_SS)
    private Date beginCreateTime;

    @ApiModelProperty(value = "结束的创建时间")
    @DateTimeFormat(pattern = YYYY_MM_DD_HH_MM_SS)
    private Date endCreateTime;
    
}
